import com.sun.corba.se.impl.io.ValueUtility;

/**
 * @author zhouzhiheng98@foxmail.com 2020-07-24 16:29:55
 */
public class Person {
    protected String name;
    private int age;

    //添加静态字段
    public static int number;

    public Person(String name,int age) {
        this.name = name;
        this.age =age;
    }

    //添加静态方法
    public static void setNumber(int value){
        number = value;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }
}
